﻿using System.Linq;
using System.Threading.Tasks;
using CRM.Extensions;
using CRM.Models;

namespace CRM.Services
{
    public class LoggingInfoService : BaseService
    {
        public Task<DbSetExtension.PaginateStruct<BuyerDataPullLog>> Index()
        {
            return DbContext.BuyerDataPullLog
                .OrderByDescending(m => m.Id)
                .ToPaginateAsync(Request);
        }
    }
}
